﻿using System.Collections.Generic;
using System.Reflection;

namespace LINQPad.OpenAccess.Metadata.Reflection
{
    /// <summary>
    /// Used to locate the metadata sources.
    /// </summary>
    public interface IMetadataSourceLocator
    {
        /// <summary>
        /// Gets the metadata source infos from the specified assembly.
        /// </summary>
        /// <param name="assembly">The assembly.</param>
        /// <returns>
        /// The metadata source infos.
        /// </returns>
        IEnumerable<IMetadataSourceInfoWithSource> GetFromAssembly( Assembly assembly );
    }
}